//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Cypress Hill, The Pharcyde & Souls of Mischief','Marquee Theatre - AZ','Tempe, AZ','Sunday','5/5/2024','7:30 PM','6215824','Cypress-Hill--The-Pharcyde---Souls-of-Mischief-5-5-2024'],['Cypress Hill, The Pharcyde & Souls of Mischief','House Of Blues - Dallas','Dallas, TX','Tuesday','5/7/2024','7:00 PM','6215783','Cypress-Hill--The-Pharcyde---Souls-of-Mischief-5-7-2024'],['Cypress Hill, The Pharcyde & Souls of Mischief','Stubbs Waller Creek Amphitheater','Austin, TX','Wednesday','5/8/2024','6:00 PM','6215784','Cypress-Hill--The-Pharcyde---Souls-of-Mischief-5-8-2024'],['Welcome to Rockville: Motley Crue, Limp Bizkit, Foo Fighters & Slipknot - 4 Day Pass','Daytona International Speedway','Daytona Beach, FL','Thursday','5/9/2024','TBD','5855881','Welcome-to-Rockville--Motley-Crue--Limp-Bizkit--Foo-Fighters---Slipknot---4-Day-Pass-5-9-2024'],['Cypress Hill, The Pharcyde & Souls of Mischief','The Tabernacle - GA','Atlanta, GA','Friday','5/10/2024','8:00 PM','6215790','Cypress-Hill--The-Pharcyde---Souls-of-Mischief-5-10-2024'],['Welcome To Rockville: Foo Fighters, Greta Van Fleet, Queens of The Stone Age & Cypress Hill - Saturday','Daytona International Speedway','Daytona Beach, FL','Saturday','5/11/2024','12:00 PM','5855884','Welcome-To-Rockville--Foo-Fighters--Greta-Van-Fleet--Queens-of-The-Stone-Age---Cypress-Hill---Saturday-5-11-2024'],['Cypress Hill, The Pharcyde & Souls of Mischief','Outdoor Stage At Salvage Station','Asheville, NC','Sunday','5/12/2024','6:30 PM','6215534','Cypress-Hill--The-Pharcyde---Souls-of-Mischief-5-12-2024'],['Cypress Hill & Souls of Mischief','Lincoln Theatre - DC','Washington, DC','Tuesday','5/14/2024','7:30 PM','6253350','Cypress-Hill---Souls-of-Mischief-5-14-2024'],['Cypress Hill & The Nashville Symphony','Ascend Amphitheater','Nashville, TN','Saturday','6/22/2024','8:00 PM','5774337','Cypress-Hill---The-Nashville-Symphony-6-22-2024'],['Harley Davidson Homecoming: Red Hot Chili Peppers, The Offspring & Cypress Hill - Saturday','Veterans Park Milwaukee','Milwaukee, WI','Saturday','7/27/2024','2:00 PM','6215853','Harley-Davidson-Homecoming--Red-Hot-Chili-Peppers--The-Offspring---Cypress-Hill---Saturday-7-27-2024'],['Cypress Hill','Summit Stage At Snow King Mountain Resort','Jackson, WY','Friday','8/2/2024','6:00 PM','6335567','Cypress-Hill-8-2-2024']],'Cypress Hill','http://www.ticketnetwork.com/ticket/Cypress-Hill-events.aspx');